﻿using STHPMS1.ICore.I_Entity.Info;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace STHPMS1.ICore.I_BLL.Bus
{
    public interface IDf_Dailymian_CostBill : IBll
    {
        void Save<T>(T entity) 
            where T:class ,IDf_Dailymian_Cost;

        void Remove(IDf_Dailymian_Cost entity);

        IEnumerable<T> Get<T>(Expression<Func<T, bool>> predicate, IPagingInfo info)
            where T : class, IDf_Dailymian_Cost;

        /// <summary>
        /// 获取路面日常养护单价
        /// </summary>
        /// <param name="pvmttype">路面类型</param>
        /// <param name="rd_class">技术等级</param>
        /// <param name="year">通车年限</param>
        /// <returns></returns>
        double GetDaily_Unitcost(int pvmttype, string rd_class,int year);
    }
}
